<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LINE 1 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-1"></span><span class="hs-pragma">{-# LANGUAGE ForeignFunctionInterface #-}</span><span>
</span><span id="line-2"></span><span>
</span><span id="line-3"></span><span class="hs-pragma">{-# LINE 3 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-3"></span><span class="hs-pragma">{-# LANGUAGE Trustworthy #-}</span><span>
</span><span id="line-4"></span><span>
</span><span id="line-5"></span><span class="hs-pragma">{-# LINE 5 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-5"></span><span>
</span><span id="line-6"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Trace.Hpc.Reflect</span><span>
</span><span id="line-7"></span><span>  </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="Trace.Hpc.Reflect.html#clearTix"><span class="hs-identifier">clearTix</span></a></span><span>
</span><span id="line-8"></span><span>  </span><span class="hs-special">,</span><span> </span><span class="annot"><a href="Trace.Hpc.Reflect.html#examineTix"><span class="hs-identifier">examineTix</span></a></span><span>
</span><span id="line-9"></span><span>  </span><span class="hs-special">,</span><span> </span><span class="annot"><a href="Trace.Hpc.Reflect.html#updateTix"><span class="hs-identifier">updateTix</span></a></span><span>
</span><span id="line-10"></span><span>  </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-11"></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Trace.Hpc.Tix.html"><span class="hs-identifier">Trace.Hpc.Tix</span></a></span><span>
</span><span id="line-13"></span><span>
</span><span id="line-14"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Foreign.C.String.html#"><span class="hs-identifier">Foreign.C.String</span></a></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Foreign.Marshal.Array.html#"><span class="hs-identifier">Foreign.Marshal.Array</span></a></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Foreign.Ptr.html#"><span class="hs-identifier">Foreign.Ptr</span></a></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Foreign.Storable.html#"><span class="hs-identifier">Foreign.Storable</span></a></span><span> </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="../../base/src/Foreign.Storable.html#Storable"><span class="hs-identifier">Storable</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span> </span><span class="hs-special">)</span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Word.html#"><span class="hs-identifier">Data.Word</span></a></span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Trace.Hpc.Util.html"><span class="hs-identifier">Trace.Hpc.Util</span></a></span><span>
</span><span id="line-20"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/System.IO.Unsafe.html#"><span class="hs-identifier">System.IO.Unsafe</span></a></span><span>
</span><span id="line-21"></span><span>
</span><span id="line-22"></span><span>
</span><span id="line-23"></span><span>
</span><span id="line-24"></span><span class="hs-keyword">foreign</span><span> </span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-keyword">ccall</span></span><span> </span><span class="annot"><span class="hs-keyword">unsafe</span></span><span> </span><span id="hs_hpc_rootModule"><span class="annot"><a href="Trace.Hpc.Reflect.html#hs_hpc_rootModule"><span class="hs-identifier hs-var">hs_hpc_rootModule</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">IO</span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Ptr.html#Ptr"><span class="hs-identifier hs-type">Ptr</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-25"></span><span>
</span><span id="line-26"></span><span class="annot"><a href="Trace.Hpc.Reflect.html#modInfo"><span class="hs-identifier hs-type">modInfo</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-type">ModuleInfo</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-27"></span><span id="modInfo"><span class="annot"><span class="annottext">modInfo :: [ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#modInfo"><span class="hs-identifier hs-var hs-var">modInfo</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IO [ModuleInfo] -&gt; [ModuleInfo]
forall a. IO a -&gt; a
</span><a href="../../base/src/GHC.IO.Unsafe.html#unsafePerformIO"><span class="hs-identifier hs-var">unsafePerformIO</span></a></span><span> </span><span class="annot"><span class="annottext">(IO [ModuleInfo] -&gt; [ModuleInfo])
-&gt; IO [ModuleInfo] -&gt; [ModuleInfo]
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-28"></span><span>      </span><span id="local-6989586621679042585"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042585"><span class="hs-identifier hs-var">ptr</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">IO (Ptr ())
</span><a href="Trace.Hpc.Reflect.html#hs_hpc_rootModule"><span class="hs-identifier hs-var">hs_hpc_rootModule</span></a></span><span>
</span><span id="line-29"></span><span>      </span><span class="annot"><span class="annottext">Ptr () -&gt; IO [ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#moduleInfoList"><span class="hs-identifier hs-var">moduleInfoList</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042585"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-30"></span><span>
</span><span id="line-31"></span><span class="hs-keyword">data</span><span> </span><span id="ModuleInfo"><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-var">ModuleInfo</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="ModuleInfo"><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-var">ModuleInfo</span></a></span></span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word32"><span class="hs-identifier hs-type">Word32</span></a></span><span> </span><span class="annot"><a href="Trace.Hpc.Util.html#Hash"><span class="hs-identifier hs-type">Hash</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Ptr.html#Ptr"><span class="hs-identifier hs-type">Ptr</span></a></span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word64"><span class="hs-identifier hs-type">Word64</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-32"></span><span>
</span><span id="line-33"></span><span class="annot"><a href="Trace.Hpc.Reflect.html#moduleInfoList"><span class="hs-identifier hs-type">moduleInfoList</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Ptr.html#Ptr"><span class="hs-identifier hs-type">Ptr</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">IO</span></span><span> </span><span class="hs-special">[</span><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-type">ModuleInfo</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-34"></span><span id="moduleInfoList"><span class="annot"><span class="annottext">moduleInfoList :: Ptr () -&gt; IO [ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#moduleInfoList"><span class="hs-identifier hs-var hs-var">moduleInfoList</span></a></span></span><span> </span><span id="local-6989586621679042582"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span></span><span>
</span><span id="line-35"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; Ptr () -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Ptr ()
forall a. Ptr a
</span><a href="../../base/src/GHC.Ptr.html#nullPtr"><span class="hs-identifier hs-var">nullPtr</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[ModuleInfo] -&gt; IO [ModuleInfo]
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span>
</span><span id="line-36"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-37"></span><span>        </span><span id="local-6989586621679042580"><span class="annot"><span class="annottext">CString
</span><a href="#local-6989586621679042580"><span class="hs-identifier hs-var">cModName</span></a></span></span><span>  </span><span class="hs-glyph">&lt;-</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679042579"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042579"><span class="hs-identifier hs-var">hsc_ptr</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; Int -&gt; IO CString
forall a b. Storable a =&gt; Ptr b -&gt; Int -&gt; IO a
</span><a href="../../base/src/Foreign.Storable.html#peekByteOff"><span class="hs-identifier hs-var">peekByteOff</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042579"><span class="hs-identifier hs-var">hsc_ptr</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-38"></span><span class="hs-pragma">{-# LINE 38 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-38"></span><span>        </span><span id="local-6989586621679042577"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042577"><span class="hs-identifier hs-var">modName</span></a></span></span><span>   </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">CString -&gt; IO String
</span><a href="../../base/src/Foreign.C.String.html#peekCString"><span class="hs-identifier hs-var">peekCString</span></a></span><span> </span><span class="annot"><span class="annottext">CString
</span><a href="#local-6989586621679042580"><span class="hs-identifier hs-var">cModName</span></a></span><span>
</span><span id="line-39"></span><span>        </span><span id="local-6989586621679042575"><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042575"><span class="hs-identifier hs-var">tickCount</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679042574"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042574"><span class="hs-identifier hs-var">hsc_ptr</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; Int -&gt; IO Word32
forall a b. Storable a =&gt; Ptr b -&gt; Int -&gt; IO a
</span><a href="../../base/src/Foreign.Storable.html#peekByteOff"><span class="hs-identifier hs-var">peekByteOff</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042574"><span class="hs-identifier hs-var">hsc_ptr</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">8</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-40"></span><span class="hs-pragma">{-# LINE 40 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-40"></span><span>        </span><span id="local-6989586621679042573"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679042573"><span class="hs-identifier hs-var">hashNo</span></a></span></span><span>    </span><span class="hs-glyph">&lt;-</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679042572"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042572"><span class="hs-identifier hs-var">hsc_ptr</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; Int -&gt; IO Int
forall a b. Storable a =&gt; Ptr b -&gt; Int -&gt; IO a
</span><a href="../../base/src/Foreign.Storable.html#peekByteOff"><span class="hs-identifier hs-var">peekByteOff</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042572"><span class="hs-identifier hs-var">hsc_ptr</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">12</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-41"></span><span class="hs-pragma">{-# LINE 41 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-41"></span><span>        </span><span id="local-6989586621679042571"><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042571"><span class="hs-identifier hs-var">tixArr</span></a></span></span><span>    </span><span class="hs-glyph">&lt;-</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679042570"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042570"><span class="hs-identifier hs-var">hsc_ptr</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; Int -&gt; IO (Ptr Word64)
forall a b. Storable a =&gt; Ptr b -&gt; Int -&gt; IO a
</span><a href="../../base/src/Foreign.Storable.html#peekByteOff"><span class="hs-identifier hs-var">peekByteOff</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042570"><span class="hs-identifier hs-var">hsc_ptr</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">16</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-42"></span><span class="hs-pragma">{-# LINE 42 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-42"></span><span>        </span><span id="local-6989586621679042569"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042569"><span class="hs-identifier hs-var">next</span></a></span></span><span>      </span><span class="hs-glyph">&lt;-</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679042568"><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042568"><span class="hs-identifier hs-var">hsc_ptr</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; Int -&gt; IO (Ptr ())
forall a b. Storable a =&gt; Ptr b -&gt; Int -&gt; IO a
</span><a href="../../base/src/Foreign.Storable.html#peekByteOff"><span class="hs-identifier hs-var">peekByteOff</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042568"><span class="hs-identifier hs-var">hsc_ptr</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">32</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042582"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-43"></span><span class="hs-pragma">{-# LINE 43 &quot;libraries\\hpc\\Trace\\Hpc\\Reflect.hsc&quot; #-}</span><span>
</span><span id="line-43"></span><span>        </span><span id="local-6989586621679042567"><span class="annot"><span class="annottext">[ModuleInfo]
</span><a href="#local-6989586621679042567"><span class="hs-identifier hs-var">rest</span></a></span></span><span>      </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Ptr () -&gt; IO [ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#moduleInfoList"><span class="hs-identifier hs-var">moduleInfoList</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr ()
</span><a href="#local-6989586621679042569"><span class="hs-identifier hs-var">next</span></a></span><span>
</span><span id="line-44"></span><span>        </span><span class="annot"><span class="annottext">[ModuleInfo] -&gt; IO [ModuleInfo]
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="annot"><span class="annottext">([ModuleInfo] -&gt; IO [ModuleInfo])
-&gt; [ModuleInfo] -&gt; IO [ModuleInfo]
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; Word32 -&gt; Hash -&gt; Ptr Word64 -&gt; ModuleInfo
</span><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-var">ModuleInfo</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042577"><span class="hs-identifier hs-var">modName</span></a></span><span> </span><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042575"><span class="hs-identifier hs-var">tickCount</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int -&gt; Hash
forall a. HpcHash a =&gt; a -&gt; Hash
</span><a href="Trace.Hpc.Util.html#toHash"><span class="hs-identifier hs-var">toHash</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679042573"><span class="hs-identifier hs-var">hashNo</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042571"><span class="hs-identifier hs-var">tixArr</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleInfo -&gt; [ModuleInfo] -&gt; [ModuleInfo]
forall a. a -&gt; [a] -&gt; [a]
</span><span class="hs-glyph hs-var">:</span></span><span> </span><span class="annot"><span class="annottext">[ModuleInfo]
</span><a href="#local-6989586621679042567"><span class="hs-identifier hs-var">rest</span></a></span><span>
</span><span id="line-45"></span><span>
</span><span id="line-46"></span><span class="annot"><a href="Trace.Hpc.Reflect.html#clearTix"><span class="hs-identifier hs-type">clearTix</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">IO</span></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-47"></span><span id="clearTix"><span class="annot"><span class="annottext">clearTix :: IO ()
</span><a href="Trace.Hpc.Reflect.html#clearTix"><span class="hs-identifier hs-var hs-var">clearTix</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-48"></span><span>      </span><span class="annot"><span class="annottext">[IO ()] -&gt; IO ()
forall (t :: * -&gt; *) (m :: * -&gt; *) a.
(Foldable t, Monad m) =&gt;
t (m a) -&gt; m ()
</span><a href="../../base/src/Data.Foldable.html#sequence_"><span class="hs-identifier hs-var">sequence_</span></a></span><span> </span><span class="hs-special">[</span><span> </span><span class="annot"><span class="annottext">Ptr Word64 -&gt; [Word64] -&gt; IO ()
forall a. Storable a =&gt; Ptr a -&gt; [a] -&gt; IO ()
</span><a href="../../base/src/Foreign.Marshal.Array.html#pokeArray"><span class="hs-identifier hs-var">pokeArray</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042563"><span class="hs-identifier hs-var">ptr</span></a></span><span> </span><span class="annot"><span class="annottext">([Word64] -&gt; IO ()) -&gt; [Word64] -&gt; IO ()
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; [Word64] -&gt; [Word64]
forall a. Int -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.List.html#take"><span class="hs-identifier hs-var">take</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042561"><span class="hs-identifier hs-var">count</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">([Word64] -&gt; [Word64]) -&gt; [Word64] -&gt; [Word64]
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Word64 -&gt; [Word64]
forall a. a -&gt; [a]
</span><a href="../../base/src/GHC.List.html#repeat"><span class="hs-identifier hs-var">repeat</span></a></span><span> </span><span class="annot"><span class="annottext">Word64
</span><span class="hs-number">0</span></span><span>
</span><span id="line-49"></span><span>                </span><span class="hs-glyph">|</span><span> </span><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-type">ModuleInfo</span></a></span><span> </span><span id="local-6989586621679042559"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042559"><span class="hs-identifier hs-var">_mod</span></a></span></span><span> </span><span id="local-6989586621679042561"><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042561"><span class="hs-identifier hs-var">count</span></a></span></span><span> </span><span id="local-6989586621679042558"><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042558"><span class="hs-identifier hs-var">_hash</span></a></span></span><span> </span><span id="local-6989586621679042563"><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042563"><span class="hs-identifier hs-var">ptr</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">[ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#modInfo"><span class="hs-identifier hs-var">modInfo</span></a></span><span>
</span><span id="line-50"></span><span>                </span><span class="hs-special">]</span><span>
</span><span id="line-51"></span><span>      </span><span class="annot"><span class="annottext">() -&gt; IO ()
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-52"></span><span>
</span><span id="line-53"></span><span>
</span><span id="line-54"></span><span class="annot"><a href="Trace.Hpc.Reflect.html#examineTix"><span class="hs-identifier hs-type">examineTix</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">IO</span></span><span> </span><span class="annot"><a href="Trace.Hpc.Tix.html#Tix"><span class="hs-identifier hs-type">Tix</span></a></span><span>
</span><span id="line-55"></span><span id="examineTix"><span class="annot"><span class="annottext">examineTix :: IO Tix
</span><a href="Trace.Hpc.Reflect.html#examineTix"><span class="hs-identifier hs-var hs-var">examineTix</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-56"></span><span>      </span><span id="local-6989586621679042557"><span class="annot"><span class="annottext">[TixModule]
</span><a href="#local-6989586621679042557"><span class="hs-identifier hs-var">mods</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">[IO TixModule] -&gt; IO [TixModule]
forall (t :: * -&gt; *) (m :: * -&gt; *) a.
(Traversable t, Monad m) =&gt;
t (m a) -&gt; m (t a)
</span><a href="../../base/src/Data.Traversable.html#sequence"><span class="hs-identifier hs-var">sequence</span></a></span><span> </span><span class="hs-special">[</span><span> </span><span class="hs-keyword">do</span><span> </span><span id="local-6989586621679042555"><span class="annot"><span class="annottext">[Word64]
</span><a href="#local-6989586621679042555"><span class="hs-identifier hs-var">tixs</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Ptr Word64 -&gt; IO [Word64]
forall a. Storable a =&gt; Int -&gt; Ptr a -&gt; IO [a]
</span><a href="../../base/src/Foreign.Marshal.Array.html#peekArray"><span class="hs-identifier hs-var">peekArray</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042553"><span class="hs-identifier hs-var">count</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042552"><span class="hs-identifier hs-var">ptr</span></a></span><span>
</span><span id="line-57"></span><span>                            </span><span class="annot"><span class="annottext">TixModule -&gt; IO TixModule
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="annot"><span class="annottext">(TixModule -&gt; IO TixModule) -&gt; TixModule -&gt; IO TixModule
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; Hash -&gt; Int -&gt; [Integer] -&gt; TixModule
</span><a href="Trace.Hpc.Tix.html#TixModule"><span class="hs-identifier hs-var">TixModule</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042550"><span class="hs-identifier hs-var">mod'</span></a></span><span> </span><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042549"><span class="hs-identifier hs-var">hash</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042553"><span class="hs-identifier hs-var">count</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-58"></span><span>                                   </span><span class="annot"><span class="annottext">([Integer] -&gt; TixModule) -&gt; [Integer] -&gt; TixModule
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">(Word64 -&gt; Integer) -&gt; [Word64] -&gt; [Integer]
forall a b. (a -&gt; b) -&gt; [a] -&gt; [b]
</span><a href="../../base/src/GHC.Base.html#map"><span class="hs-identifier hs-var">map</span></a></span><span> </span><span class="annot"><span class="annottext">Word64 -&gt; Integer
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">[Word64]
</span><a href="#local-6989586621679042555"><span class="hs-identifier hs-var">tixs</span></a></span><span>
</span><span id="line-59"></span><span>                       </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-type">ModuleInfo</span></a></span><span> </span><span id="local-6989586621679042550"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042550"><span class="hs-identifier hs-var">mod'</span></a></span></span><span> </span><span id="local-6989586621679042553"><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042553"><span class="hs-identifier hs-var">count</span></a></span></span><span> </span><span id="local-6989586621679042549"><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042549"><span class="hs-identifier hs-var">hash</span></a></span></span><span> </span><span id="local-6989586621679042552"><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042552"><span class="hs-identifier hs-var">ptr</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">[ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#modInfo"><span class="hs-identifier hs-var">modInfo</span></a></span><span>
</span><span id="line-60"></span><span>                       </span><span class="hs-special">]</span><span>
</span><span id="line-61"></span><span>      </span><span class="annot"><span class="annottext">Tix -&gt; IO Tix
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="annot"><span class="annottext">(Tix -&gt; IO Tix) -&gt; Tix -&gt; IO Tix
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">[TixModule] -&gt; Tix
</span><a href="Trace.Hpc.Tix.html#Tix"><span class="hs-identifier hs-var">Tix</span></a></span><span> </span><span class="annot"><span class="annottext">[TixModule]
</span><a href="#local-6989586621679042557"><span class="hs-identifier hs-var">mods</span></a></span><span>
</span><span id="line-62"></span><span>
</span><span id="line-63"></span><span class="hs-comment">-- requirement that the tix be of the same shape as the</span><span>
</span><span id="line-64"></span><span class="hs-comment">-- internal tix.</span><span>
</span><span id="line-65"></span><span class="annot"><a href="Trace.Hpc.Reflect.html#updateTix"><span class="hs-identifier hs-type">updateTix</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Trace.Hpc.Tix.html#Tix"><span class="hs-identifier hs-type">Tix</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">IO</span></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-66"></span><span id="updateTix"><span class="annot"><span class="annottext">updateTix :: Tix -&gt; IO ()
</span><a href="Trace.Hpc.Reflect.html#updateTix"><span class="hs-identifier hs-var hs-var">updateTix</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Trace.Hpc.Tix.html#Tix"><span class="hs-identifier hs-type">Tix</span></a></span><span> </span><span id="local-6989586621679042547"><span class="annot"><span class="annottext">[TixModule]
</span><a href="#local-6989586621679042547"><span class="hs-identifier hs-var">modTixes</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-67"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">[TixModule] -&gt; Int
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Int
</span><a href="../../base/src/Data.Foldable.html#length"><span class="hs-identifier hs-var">length</span></a></span><span> </span><span class="annot"><span class="annottext">[TixModule]
</span><a href="#local-6989586621679042547"><span class="hs-identifier hs-var">modTixes</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">/=</span></span><span> </span><span class="annot"><span class="annottext">[ModuleInfo] -&gt; Int
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Int
</span><a href="../../base/src/Data.Foldable.html#length"><span class="hs-identifier hs-var">length</span></a></span><span> </span><span class="annot"><span class="annottext">[ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#modInfo"><span class="hs-identifier hs-var">modInfo</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; IO ()
forall a. HasCallStack =&gt; String -&gt; a
</span><a href="../../base/src/GHC.Err.html#error"><span class="hs-identifier hs-var">error</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;updateTix failed&quot;</span></span><span>
</span><span id="line-68"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-69"></span><span>      </span><span class="annot"><span class="annottext">[IO ()] -&gt; IO ()
forall (t :: * -&gt; *) (m :: * -&gt; *) a.
(Foldable t, Monad m) =&gt;
t (m a) -&gt; m ()
</span><a href="../../base/src/Data.Foldable.html#sequence_"><span class="hs-identifier hs-var">sequence_</span></a></span><span> </span><span class="hs-special">[</span><span> </span><span class="annot"><span class="annottext">Ptr Word64 -&gt; [Word64] -&gt; IO ()
forall a. Storable a =&gt; Ptr a -&gt; [a] -&gt; IO ()
</span><a href="../../base/src/Foreign.Marshal.Array.html#pokeArray"><span class="hs-identifier hs-var">pokeArray</span></a></span><span> </span><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042543"><span class="hs-identifier hs-var">ptr</span></a></span><span> </span><span class="annot"><span class="annottext">([Word64] -&gt; IO ()) -&gt; [Word64] -&gt; IO ()
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">(Integer -&gt; Word64) -&gt; [Integer] -&gt; [Word64]
forall a b. (a -&gt; b) -&gt; [a] -&gt; [b]
</span><a href="../../base/src/GHC.Base.html#map"><span class="hs-identifier hs-var">map</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Word64
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">[Integer]
</span><a href="#local-6989586621679042542"><span class="hs-identifier hs-var">tixs</span></a></span><span>
</span><span id="line-70"></span><span>                </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Trace.Hpc.Reflect.html#ModuleInfo"><span class="hs-identifier hs-type">ModuleInfo</span></a></span><span> </span><span id="local-6989586621679042541"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042541"><span class="hs-identifier hs-var">mod1</span></a></span></span><span> </span><span id="local-6989586621679042540"><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042540"><span class="hs-identifier hs-var">count1</span></a></span></span><span> </span><span id="local-6989586621679042539"><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042539"><span class="hs-identifier hs-var">hash1</span></a></span></span><span> </span><span id="local-6989586621679042543"><span class="annot"><span class="annottext">Ptr Word64
</span><a href="#local-6989586621679042543"><span class="hs-identifier hs-var">ptr</span></a></span></span><span class="hs-special">,</span><span>
</span><span id="line-71"></span><span>                   </span><span class="annot"><a href="Trace.Hpc.Tix.html#TixModule"><span class="hs-identifier hs-type">TixModule</span></a></span><span> </span><span id="local-6989586621679042538"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042538"><span class="hs-identifier hs-var">mod2</span></a></span></span><span> </span><span id="local-6989586621679042537"><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042537"><span class="hs-identifier hs-var">hash2</span></a></span></span><span> </span><span id="local-6989586621679042536"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679042536"><span class="hs-identifier hs-var">count2</span></a></span></span><span> </span><span id="local-6989586621679042542"><span class="annot"><span class="annottext">[Integer]
</span><a href="#local-6989586621679042542"><span class="hs-identifier hs-var">tixs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">[ModuleInfo] -&gt; [TixModule] -&gt; [(ModuleInfo, TixModule)]
forall a b. [a] -&gt; [b] -&gt; [(a, b)]
</span><a href="../../base/src/GHC.List.html#zip"><span class="hs-identifier hs-var">zip</span></a></span><span> </span><span class="annot"><span class="annottext">[ModuleInfo]
</span><a href="Trace.Hpc.Reflect.html#modInfo"><span class="hs-identifier hs-var">modInfo</span></a></span><span> </span><span class="annot"><span class="annottext">[TixModule]
</span><a href="#local-6989586621679042547"><span class="hs-identifier hs-var">modTixes</span></a></span><span>
</span><span id="line-72"></span><span>                </span><span class="hs-special">,</span><span> </span><span class="hs-keyword">if</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042541"><span class="hs-identifier hs-var">mod1</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; String -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">/=</span></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679042538"><span class="hs-identifier hs-var">mod2</span></a></span><span>
</span><span id="line-73"></span><span>                </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Word32
</span><a href="#local-6989586621679042540"><span class="hs-identifier hs-var">count1</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">/=</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679042536"><span class="hs-identifier hs-var">count2</span></a></span><span>
</span><span id="line-74"></span><span>                </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042539"><span class="hs-identifier hs-var">hash1</span></a></span><span> </span><span class="annot"><span class="annottext">Hash -&gt; Hash -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">/=</span></span><span> </span><span class="annot"><span class="annottext">Hash
</span><a href="#local-6989586621679042537"><span class="hs-identifier hs-var">hash2</span></a></span><span>
</span><span id="line-75"></span><span>                </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="annot"><span class="annottext">[Integer] -&gt; Int
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Int
</span><a href="../../base/src/Data.Foldable.html#length"><span class="hs-identifier hs-var">length</span></a></span><span> </span><span class="annot"><span class="annottext">[Integer]
</span><a href="#local-6989586621679042542"><span class="hs-identifier hs-var">tixs</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">/=</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679042536"><span class="hs-identifier hs-var">count2</span></a></span><span>
</span><span id="line-76"></span><span>                  </span><span class="hs-keyword">then</span><span> </span><span class="annot"><span class="annottext">String -&gt; Bool
forall a. HasCallStack =&gt; String -&gt; a
</span><a href="../../base/src/GHC.Err.html#error"><span class="hs-identifier hs-var">error</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;updateTix failed&quot;</span></span><span>
</span><span id="line-77"></span><span>                  </span><span class="hs-keyword">else</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-78"></span><span>                </span><span class="hs-special">]</span><span>
</span><span id="line-79"></span><span>      </span><span class="annot"><span class="annottext">() -&gt; IO ()
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-80"></span></pre></body></html>